#include "../lib/test.h"
#include <iostream>
using namespace std;

int main()
{
    People* aPeople = new Man(32, "Li Ji");
    cout << aPeople->get_name() << endl;
    aPeople = new Woman(29, "Yang Jing");
    cout << aPeople->get_name() << endl;


    int x = 10;
    const int* xp = &x;
    cout << (*xp) << endl;
    int y = 12;
    xp = &y;
    cout << (*xp) << endl;

    int* const yp = &y;

    cout << (*yp) << endl;
    (*yp) = 13;
    cout << (*yp) << endl;
    int z = 14;
    return 0;
}
